<?
//引入所有子系统信息
include_once("../../../common/model/extender_import.php");

//获取板块的设置
include_once("model/setting.php");



//根据页面信息，组装查找语句
//include_once("model/set_page.php");


//根据页面数量信息，筛选信息，创造url，供页码,跳转等使用
include_once("model/set_url.php");

//获取常用的项目列表
include_once("../../case/controller/model/case_list_normal.php");
//获取客户名单
include_once("../../unit/controller/model/unit_client.php");
$unit_client_list=transform_2darray_in_1darray_with_new_key($unit_client,"nid","name");


$now_employee=$_SESSION['nid'];

$task_list=select_lines_all_items($table_prefix."task","enddate asc","status != '已完成' and status != '已删除' and is_del = 0 and principal = '$now_employee' ","9990");


$case_nid_list=transform_2darray_in_1darray_number_as_key($task_list,"case_id");

$case_nid_list_str=implode("','",$case_nid_list);
$case_list=select_lines_all_items($table_prefix."case","","nid in ('$case_nid_list_str')","9990");
$case_name_list=transform_2darray_in_1darray_with_new_key($case_list,'nid',"name");



?>

